package com.lzg.dimite;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author lizhigang Date: 2019/9/8 22:04
 * @description:
 */
public class TeamLeader {
    public void checkNumberOfGongZI(List<GongZi> gongZiList){
        System.out.println("目前需要发工资人数："+gongZiList.size());
    }

    public void checkNumberOfGz() {
        List<GongZi>courseList=new ArrayList<GongZi>();

        for(int i=0;i<20;i++){

            courseList.add(new GongZi());

        }
        System.out.println("目前需要发工资人数："+courseList.size());
    }
}
